<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/userLogin" method="post">
    <input name="url" type="hidden" th:value="${url}">
    用户名:<input type="text" name="username" placeholder="用户名">
    密  码:<input type="password" name="password" placeholder="密码">
    <button type="submit" value="登录">登录</button>
</form>
<span th:text="${result}"></span>
</body>
</html>